package com.recSys.inter;

import com.recSys.model.Organization;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrganizationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Organization record);

    int insertSelective(Organization record);

    Organization selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Organization record);

    int updateByPrimaryKeyWithBLOBs(Organization record);

    int updateByPrimaryKey(Organization record);
    
    List<Organization> selectByArea(Map<String,Object> map);
    
    List<Organization> selectByProvince(@Param("province")String province);

    Organization selectByOrgCode(@Param("orgCode")String orgCode);

    List<Organization> selectByOrgIDs(Map<String, Object> map);
}